package com.xingu.xg.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("节点创建参数")
public class AddNodeQuery {
    @ApiModelProperty(value = "当前选中节点ID", required = true)
    @NotNull(message = "当前选中ID不能为空")
    private String selectedId;
}
